package com.atguigu.gmall.web.all.config;

import com.atguigu.gmall.common.cache.GmallCacheAspect;
import com.atguigu.gmall.common.handler.GlobalExceptionHandler;
import com.atguigu.gmall.feign.AppFeignConfig;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;

//@EnableFeignClients({
//        "com.atguigu.gmall.feign.item",
//        "com.atguigu.gmall.feign.product",
//        "com.atguigu.gmall.feign.search",
//        "com.atguigu.gmall.feign.cart",
//        "com.atguigu.gmall.feign.user",
//        "com.atguigu.gmall.feign.order"})
@EnableFeignClients({
        "com.atguigu.gmall.feign"})
@EnableAspectJAutoProxy
@Configuration
@Import({GmallCacheAspect.class, AppFeignConfig.class, GlobalExceptionHandler.class})
public class ServiceWebConfig {


}